//
// Created by Administrator on 2023/5/8.
//

#ifndef ST77903_TEST_BSP_INFO_H
#define ST77903_TEST_BSP_INFO_H

struct hp203b_t{
	float Temperature;
	float Altitude;
	float Pressure;
};
struct imu_t
{
	int16_t acc_x;
	int16_t acc_y;
	int16_t acc_z;
	int16_t gyro_x;
	int16_t gyro_y;
	int16_t gyro_z;
	int16_t Temperature;
};

struct gps_t
{
	char long_dir; /**/
	char dime_dir;
	float longitude;
	float Dimension;
	float Altitude;
	char utc_time[50];
};
struct axp173_t
{
	float bat_per;
	float bat_vol;
	float vbus_vol;
	float Temperature;
};
struct bsp_t
{
	struct hp203b_t hp203b;
	struct imu_t imu;
	struct gps_t gps;
	struct axp173_t axp173;
};

extern  struct bsp_t bsp_sensors_info;

#endif //ST77903_TEST_BSP_INFO_H
